#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    setWindowFlags(Qt::FramelessWindowHint | windowFlags());

    ui->setupUi(this);

    showMaximized();
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_pushButtonExit_clicked()
{
    close();
}

void MainWindow::on_toolButtonExit_clicked()
{
    close();
}

void MainWindow::on_toolButtonRight_clicked()
{
    ui->widgetMenu->next();
}

void MainWindow::on_toolButtonLeft_clicked()
{

    ui->widgetMenu->prev();
}
